<div class="layout su-head">
	<input type="hidden" id="uhome-id" value="{{user_home.id}}" />
	<div class="su-banner" id="su-banner">
		<div class="sub-main">
			<div class="sum-mask"><img id="sum-mask" src="{{supplier_data.banner_mask|default('http://mt-other.qiniudn.com/2014/04/10/a46692b154bcacdd981ce6c3091a01a9.jpg')}}" style="top:0;left:0;"></div>
			<div class="suh-mask-bg"></div>
			<div class="sum-bg"><img id="sum-bg" src="{{supplier_data.home_banner|default('http://mt-other.qiniudn.com/2014/04/10/ba14dbc08ab1868ad8aa2c5e9963671c.jpg')}}" width="780" style="top:0;left:0;"></div>
		</div>
		<div class="sub-info" id="sub-info">
			<div class="sub-info-base">
				{% if is_home %}
					<a target="_blank" title="修改头像" href="{{domain}}u/setting/info/"><img class="avatar" alt="{{user_home}}" src="{{user_home.avatar}}!100" width="80" /></a>
				{% else %}
				<img class="avatar" alt="{{user_home}}" src="{{user_home.avatar}}!100" width="80" />
				{% endif %}
	        	<h2>{{supplier_data.company}}</h2>
	        	<p><b class="ui-a">认证商家</b></p>
	        </div>
	        <ul>
	        	{% if supplier_data.weibo %}
	        	<li>
	        		<a class="ui-a su-info-wb" target="_blank" rel="nofollow" href="{{supplier_data.weibo}}">{{supplier_data.weibo}}</a>
	        	</li>
	        	{% endif %}

	        	{% if supplier_data.qq %}
		        <li>
		        	<a class="ui-a su-info-qq" target="_blank" rel="nofollow" href="http://wpa.qq.com/msgrd?v=3&uin={{supplier_data.qq}}&site=qq&menu=yes">{{supplier_data.qq}}</a>
		        </li>
		        {% endif %}

	        	{% if supplier_data.weixin %}
		        <li>
		        	<a class="ui-a su-info-wx" href="javascript:;"></a>
			        <div class="su-info-wxtip">微信号<span class="ui-a">{{supplier_data.weixin}}</span></div>
			    </li>
		        {% endif %}

	        	{% if supplier_data.business_tel %}
		        <li>
		        	<a class="ui-a su-info-tel" href="javascript:;"></a>
		        	<div class="su-info-teltip">联系方式<span class="ui-a">{{supplier_data.business_tel}}</span></div>
			    </li>
			    {% endif %}
	        </ul>
		</div>
		{% if is_home %}
		<a href="javascript:;" class="su-edit">修改封面</a>
		<div class="su-range">
			<span class="sur-min">-</span>
			<span class="sur-mbox" id="su-mbox"><span id="sur-mbox-scale"></span></span>
			<span class="sur-max">+</span>
			<div class="sur-mm-btn">
				<a href="javascript:;" class="inp-btn-gray">取消</a>
				<a href="javascript:;" class="inp-btn-pk">确定</a>
			</div>
		</div>
		{% endif %}
	</div>
	<ul class="suh-nav">
		<li {% if tab == 'home' %}class="active"{% endif %}><a href="/su/{{user_home.id}}/">作品</a></li>
		<li {% if tab == 'about' %}class="active"{% endif %}><a href="/su/{{user_home.id}}/about/">关于我们</a></li>
	</ul>
</div>
<script>seajs.use('page/supplier/banner', function(p){p.render()});</script>
